package top.malaoshi.service;

import org.springframework.stereotype.Service;
import top.malaoshi.entity.Comment;
import top.malaoshi.mapper.ICommentMapper;

import javax.annotation.Resource;

import java.util.List;

@Service
public class CommentSrvImpl {

    @Resource
    private ICommentMapper dao;

    public List<Comment> queryByGoodsId(String goodsId) {
        List<Comment> list=dao.queryByGoodsId(goodsId);
        return list;
    }


}
